import App from './App'
import Vue from 'vue'
import store from './store'
import Cache from './utils/cache'
import config from './config/config'
import utils from './utils/utils'
import animationType from './utils/animationType'

// #ifdef H5
import eruda from 'eruda'
// #endif

// import './uni.promisify.adaptor'
import uView from "uview-ui";
Vue.use(uView);

Vue.config.productionTip = false
Vue.prototype.$config = config;
Vue.prototype.$Cache = Cache;
Vue.prototype.$store = store;
Vue.prototype.$util = utils;
Vue.prototype.$animationType = animationType;


// #ifdef H5
// h5调试
// eruda.init()
// #endif

App.mpType = 'app'
const app = new Vue({
  ...App,
  store,
  Cache
})
app.$mount()
